Displacement mapping
--------------------

In this demo, your task is to implement displacement mapping using geometry shaders.

-) Go to "Source", and open the DisplacementMapping.sln" file.
-) Build the solution (should build without problems in VS 2008)
-) In the root-directory, there is a simple batch-file which you can use to start the application (Release build).
-) Upon starting the program, you should see a wrongly subdivided terrain


Task: Fix the displacement mapping by implementing proper subdivision in the geometry shader
-) The shader responsible for displacement mapping is found in "Shaders/GS_save.glsl"
-) Your task is to implement the div-methods marked with a TODO, which are responsible for emitting new vertices. At the moment, always the same subdivision is performed.
-) Additionally, in the main method, a proper subdivision scheme needs to be implemented
-) With proper displacement mapping, you should see a color-coded terrain